package com.yegs.jltqc.dao;

import com.yegs.jltqc.VO.Complaint;
import com.yegs.jltqc.VO.ComplaintItem;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface ComplaintItemRepository extends JpaRepository<ComplaintItem,Long> {

    ComplaintItem findComplaintItemByInfo(String info);

    Page<ComplaintItem> findComplaintItemByInfoLike(String info, Pageable pageable);

}
